

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbYardMonthCardOnlines;

namespace JYJ.AiYard.EntityMapper.TbYardMonthCardOnlines
{
    public class TbYardMonthCardOnlineCfg : IEntityTypeConfiguration<TbYardMonthCardOnline>
    {
        public void Configure(EntityTypeBuilder<TbYardMonthCardOnline> builder)
        {

            builder.ToTable("Tb_YardMonthCardOnline", YoYoAbpefCoreConsts.SchemaNames.Dbo);

            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.CardTypeId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthType).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.MonthNumber).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length32);
			builder.Property(a => a.MonthPreNumber1).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
            builder.Property(a => a.MonthPreNumber2).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
            builder.Property(a => a.MonthPreNumber3).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
            builder.Property(a => a.MonthPreType1).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthPreType2).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthPreType3).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.MonthProValue11).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthProValue12).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthProValue21).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthProValue22).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthProValue31).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MonthProValue32).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


